package com.peas.platform.module.icims.contract.initial.domain.impl;

import com.peas.platform.framework.mybatisplus.domain.BaseDomainImpl;
import com.peas.platform.framework.mybatisplus.repository.BaseRepository;
import com.peas.platform.module.icims.contract.initial.adapter.repository.ContractInitialRestartRepository;
import com.peas.platform.module.icims.contract.initial.adapter.repository.po.ContractInitialRestartPo;
import com.peas.platform.module.icims.contract.initial.domain.ContractInitialRestartDomain;
import com.peas.platform.module.icims.contract.initial.dto.ContractInitialRestartDto;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

@Component
public class ContractInitialRestartDomainImpl extends BaseDomainImpl<ContractInitialRestartDto, ContractInitialRestartPo> implements ContractInitialRestartDomain {

    @Resource
    private ContractInitialRestartRepository contractInitialRestartRepository;

    @Override
    public BaseRepository<ContractInitialRestartPo> getMapper() {
        return contractInitialRestartRepository;
    }

    @Override
    public Class<? extends BaseRepository<ContractInitialRestartPo>> getRepositoryClass() {
        return ContractInitialRestartRepository.class;
    }

}
